﻿#include <iostream>

#include <opencv2/opencv.hpp>

using namespace std;
/*
 * @brief 测试OpenCV的环境搭建是否成功
**/
int main(int argc, char const* argv[])
{
    cv::Mat img;

    img = cv::imread("./../../images/imori.jpg");

    if (img.empty())
    {
        cout << "请确认图像文件名称是否正确" << endl;
        return -1;
    }
    imshow("test",img);
    cv::waitKey(0);
    return 0;
}
